/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.util.ArrayList;

/**
 *
 * @author Morten
 */
public class Recipe {

    private String name;
    private String image;
    private String descreption;
    private String howtoMethod;

    private int cookingTime;

    private ArrayList<AmountOfIngredient> re_ingredients;

    public Recipe(String name, String image, String descreption, String howtoMethod, int cookingTime, ArrayList<AmountOfIngredient> ingridients) {
        this.name = name;
        this.image = image;
        this.descreption = descreption;
        this.howtoMethod = howtoMethod;
        this.cookingTime = cookingTime;
        this.re_ingredients = (ArrayList<AmountOfIngredient>) ingridients;
    }

    public String getName() {
        return name;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public String getDescreption() {
        return descreption;
    }

    public String getHowtoMethod() {
        return howtoMethod;
    }

    public int getCookingTime() {
        return cookingTime;
    }

    public ArrayList<AmountOfIngredient> getIngredients() {
        return re_ingredients;
    }
}
